<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <script>
         const obj = {
             username:"张三",
             age:20,
             gender:"男",
             hobby:"足球，篮球"
         }

          const defaults = {
                type: 'GET',
                url: '',
                async: true,
                data: {},
                header: {
                    'Content-Type': 'application/x-www-form-urlencoded'
                },
                success: function () {},
                error: function () {}
            }

            console.dir(obj.data)
           


    </script>
</body>
</html>